package cn.tedu.spring.eg2;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @author lhd
 * @date 2024/4/16
 * @apiNote
 */

@Repository
public class CommentMapper implements Mapper{
    @Autowired
    @Qualifier("AA")
    private Mapper mapper;

    @Override
    public String toString() {
        return "CommentMapper{" +
                "mapper=" + mapper +
                '}';
    }
}
